module.exports = (app) => {
  return async (ctx, next) => {
    const say = await ctx.service.say.say()
    ctx.socket.emit('res', 'connected!' + say);
    await next();
  };
};